import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper, /* { default options with global component } */ )


//移动端适配
import 'amfe-flexible'

import './assets/font/iconfont_huang.css'


//引入iconfont
import '@/assets/iconfont/iconfont_you.css'

//移入css文件
import './assets/style/reset.css';
import './assets/icon-chenjun/font_43wwhbaf1w7/iconfont.css'
//vant引入
import {
    Tabbar,
    TabbarItem,
    NavBar,
    Card,
    Checkbox,
    Stepper,
    Empty,
    Button,
    Icon,
    Grid,
    GridItem,
    CouponCell,
    Cell,
    Search,
    Sidebar,
    SidebarItem,
    Tab,
    Tabs,
    Uploader,
    Swipe,
    SwipeItem,
    Image as VanImage,
    SubmitBar,
    Overlay,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Sku,
    AddressEdit,
    Area,
    AddressList,
    CheckboxGroup,
    CellGroup,
    Lazyload,
    ContactCard,
    ContactList,
    ContactEdit,
    Dialog,
    PullRefresh
} from 'vant';

Vue.use(NavBar);
Vue.use(Lazyload, {
    lazyComponent: true,
});
Vue.use(Overlay);
Vue.use(Card);
Vue.use(Checkbox);
Vue.use(Stepper);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Empty);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(CouponCell);
Vue.use(Cell);
Vue.use(Search);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(AddressEdit);
Vue.use(Area);
Vue.use(AddressList);
Vue.use(CheckboxGroup);
Vue.use(CellGroup);
Vue.use(Uploader);
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(VanImage)
Vue.use(SubmitBar);
Vue.use(GoodsAction);
Vue.use(GoodsActionIcon);
Vue.use(GoodsActionButton);
Vue.use(Sku);
Vue.use(ContactCard);
Vue.use(ContactList);
Vue.use(ContactEdit);
Vue.use(Dialog);

Vue.use(PullRefresh);






Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')